package com.wft.chapter06.enumtest;

public enum Color {
    RED("#d71345"),
    YELLOW("#fcf16e"),
    BLUE("#7bbfea");
    private String code;

    Color(String code) {
        this.code = code;
    }

    public String code(){
        return this.code;
    }
}
